package com.fy56.platform.logistics.service.wx;

import com.fy56.platform.logistics.common.ResultModel;

import java.util.Map;

public interface IGmmsMiniProgramService {

    /**
     * 根据 code appId secret 获取用户openId 与用户相关信息
     *
     * @param code
     * @param urlAddress
     * @param companyId
     * @return
     * @throws Exception
     */
    public ResultModel getOpenIdService(String code, String urlAddress, String companyId)throws  Exception;

    /**
     * 根据openId 仓配平台获取用户信息
     * @param url
     * @param openId
     * @return
     * @throws Exception
     */
    public Object getMemberByOpenId(String url, String openId)throws Exception;

}
